export function fontBuilder(params) {
  const { name, code, size, color: fColor } = params || {};

  return {
    name: name || '文本设置',
    code: code || 'font',
    type: 'FontGroup',
    value: {
      fontSize: size || 12,
      fontFamily: 'siyuan',
      color: fColor || '#FFF',
      fontWeight: 'normal',
    },
  };
}
